package cn.simon.free.redis.mq.config.properties;

import cn.simon.free.redis.mq.annotations.RedisMessageConsumer;
import com.google.common.collect.Maps;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author simon
 * @date 2021/7/13 16:07
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
@Component
public class RedisMessageProperties {
    /**
     * 队列名相关的配置
     */
    private Map<String, RedisMessageConsumer> queueNameWithHash = Maps.newHashMap();
    /**
     * key：bean别名
     * value：bean
     */
    private Map<String, Object> queueNameWithBeanHash = Maps.newHashMap();

}
